package com.qtu.user_service.feign.fallback;

import com.qtu.user_service.feign.SellerFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Component
@Slf4j
public class SellerFeignFallBack implements SellerFeignService {
    @Override
    public String setByTime(String key, Object value, long time) {
        log.error("redis-service 店铺登录信息设置失败！ key="+key+" value="+value+" time="+time);
        return null;
    }

    @Override
    public Object get(String key) {
        log.error("redis-service 店铺登录信息获取失败！ key="+key);
        return null;
    }

    @Override
    public String exists(String key) {
        log.error("redis-service 店铺登录信息失效！ key="+key);
        return null;
    }

    @Override
    public String delete(String... key) {
        log.error("redis-service 删除店铺登录信息失败！ key="+key);
        return null;
    }
}
